﻿namespace IDAL
{
    public interface IBaseDAL<T>
    {
        Task<int> AddAsync(T t);
        Task<int> AddRangeAsync(List<T> list);
        Task<int> DelAsync(T t);
        Task<int> DelRangeAsync(List<T> list);
        Task<int> UpdAsync(T t);
        Task<int> UpdRangeAsync(List<T> list);
        IQueryable<T> GetAll();
    }
}
